/*
 * DOMHelperException.java
 *
 * Created on November 3, 2007, 4:46 AM
 *
 * To change this template, choose Tools | Template Manager
 * and open the template in the editor.
 */
package custom.xml;

/**
 *
 * @author david
 */
public class DOMHelperException extends Exception {

    protected String documentURI = null;

    /**
     * Creates a new instance of DOMHelperException
     */
    public DOMHelperException(String reason) {
        super(reason);
    }

    public DOMHelperException(Throwable cause) {
        super(cause);
    }

    public DOMHelperException(String reason, Throwable cause) {
        super(reason, cause);
    }

    public DOMHelperException(String reason, Throwable cause, String documentURI) {
        super(reason, cause);
        this.documentURI = documentURI;
    }

    public String getDocumentURI() {
        return documentURI;
    }
}
